﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.Common.Area
{
    /// <summary>
    /// 区域码请求对象模型
    /// </summary>
    public class ZoneCodeRequestDto
    {
        /// <summary>
        /// 省份编码
        /// </summary>
        [Display(Name = "省份编码")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string ProviceCode { get; set; }
        /// <summary>
        /// 城市编码
        /// </summary>
        [Display(Name = "城市编码")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CityCode { get; set; }
        /// <summary>
        /// 区县编码
        /// </summary>
        [Display(Name = "区县编码")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CountyCode { get; set; }
    }
}
